<div class="row">
    <div class="col-lg-5">
        <div class="row">
            <div class="col-lg-4">
                <h5>系统列表</h5>
                <ul id="itemTree1" class="tree" data-ride="tree">
                    <!--用于展示当前已经添加的元器件-->
                </ul>
            </div>
            <div class="col-lg-4">
                <h5>电路列表</h5>
                <ul id="itemTree2" class="tree" data-ride="tree">
                    <!--用于展示当前已经添加的元器件-->
                </ul>
            </div>
            <div class="col-lg-4">
                <h5>元器件列表</h5>
                <ul id="itemTree3" class="tree" data-ride="tree">
                    <!--用于展示当前已经添加的元器件-->
                </ul>
            </div>
        </div>

    </div>
    <div class="col-lg-7">
        选择添加原件类型
        <select class="form-control" v-model="selected" @change="change()">
            <option disabled value="">原件列表</option>
            <option value="p1">电容</option>
            <option value="p2">电感</option>
            <option value="p3">电阻</option>
            <option value="p4">其他</option>
        </select>

        <hr>
        <div id="p1" style="display: none">
            <!--电容的输入列表-->
            <div class="items">
                <div class="item">
                    <div class="item-heading">
                        <div class="pull-right label label-success">电容</div>
                    </div>
                    <div class="item-content">
                        电容的输入列表
                        <div class="row">
                            <div class="col-lg-6">
                                <div class="input-group">
                                    <span class="input-group-addon">元器件名称</span>
                                    <input type="text" class="form-control" v-model="title">
                                </div>
                            </div>
                            <div class="col-lg-6">
                                <div class="input-group">
                                    <span class="input-group-addon">功能</span>
                                    <input type="text" class="form-control" v-model="pstrFunction">
                                </div>
                            </div>
                        </div>


                        <hr>
                        故障模式
                        <div class="panel panel-primary">

                            <div class="panel-heading">
                                短路
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">故障原因</span>
                                <input type="text" class="form-control" v-model="pstr1_1">
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">高一级影响</span>
                                <input type="text" class="form-control" v-model="pstr1_2">
                            </div>
                        </div>
                        <div class="panel panel-success">

                            <div class="panel-heading">
                                参数漂移
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">故障原因</span>
                                <input type="text" class="form-control" v-model="pstr2_1">
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">高一级影响</span>
                                <input type="text" class="form-control" v-model="pstr2_2">
                            </div>
                        </div>
                        <div class="panel panel-warning">

                            <div class="panel-heading">
                                开路
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">故障原因</span>
                                <input type="text" class="form-control" v-model="pstr3_1">
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">高一级影响</span>
                                <input type="text" class="form-control" v-model="pstr3_2">
                            </div>
                        </div>


                    </div>
                    <div class="item-footer">
                        <button class="btn btn-block " type="button" @click="addDianrong">添加电容</button>
                    </div>
                </div>
            </div>
        </div>
        <div id="p2" style="display: none">
            <!--电感的输入列表-->
            <div class="items">
                <div class="item">
                    <div class="item-heading">
                        <div class="pull-right label label-success">电感</div>
                    </div>
                    <div class="item-content">
                        电感的输入列表
                        <div class="row">
                            <div class="col-lg-6">
                                <div class="input-group">
                                    <span class="input-group-addon">元器件名称</span>
                                    <input type="text" class="form-control" v-model="title">
                                </div>
                            </div>
                            <div class="col-lg-6">
                                <div class="input-group">
                                    <span class="input-group-addon">功能</span>
                                    <input type="text" class="form-control" v-model="pstrFunction">
                                </div>
                            </div>
                        </div>
                        <hr>
                        故障模式
                        <div class="panel panel-primary">

                            <div class="panel-heading">
                                短路
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">故障原因</span>
                                <input type="text" class="form-control" v-model="pstr1_1">
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">高一级影响</span>
                                <input type="text" class="form-control" v-model="pstr1_2">
                            </div>
                        </div>
                        <div class="panel panel-success">

                            <div class="panel-heading">
                                参数漂移
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">故障原因</span>
                                <input type="text" class="form-control" v-model="pstr2_1">
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">高一级影响</span>
                                <input type="text" class="form-control" v-model="pstr2_2">
                            </div>
                        </div>
                        <div class="panel panel-warning">

                            <div class="panel-heading">
                                开路
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">故障原因</span>
                                <input type="text" class="form-control" v-model="pstr3_1">
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">高一级影响</span>
                                <input type="text" class="form-control" v-model="pstr3_2">
                            </div>
                        </div>


                    </div>
                    <div class="item-footer">
                        <button class="btn btn-block " type="button" @click="addDiangan">添加电感</button>
                    </div>
                </div>
            </div>
        </div>
        <div id="p3" style="display: none">
            <!--电阻的输入列表-->
            <div class="items">
                <div class="item">
                    <div class="item-heading">
                        <div class="pull-right label label-success">电阻</div>
                    </div>
                    <div class="item-content">
                        电阻的输入列表
                        <div class="row">
                            <div class="col-lg-6">
                                <div class="input-group">
                                    <span class="input-group-addon">元器件名称</span>
                                    <input type="text" class="form-control" v-model="title">
                                </div>
                            </div>
                            <div class="col-lg-6">
                                <div class="input-group">
                                    <span class="input-group-addon">功能</span>
                                    <input type="text" class="form-control" v-model="pstrFunction">
                                </div>
                            </div>
                        </div>
                        <hr>
                        故障模式

                        <div class="panel panel-success">

                            <div class="panel-heading">
                                参数漂移
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">故障原因</span>
                                <input type="text" class="form-control" v-model="pstr1_1">
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">高一级影响</span>
                                <input type="text" class="form-control" v-model="pstr1_2">
                            </div>
                        </div>
                        <div class="panel panel-warning">

                            <div class="panel-heading">
                                开路
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">故障原因</span>
                                <input type="text" class="form-control" v-model="pstr2_1">
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">高一级影响</span>
                                <input type="text" class="form-control" v-model="pstr2_2">
                            </div>
                        </div>


                    </div>
                    <div class="item-footer">
                        <button class="btn btn-block " type="button" @click="addDianzu">添加电阻</button>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>